<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>添加图书</title>
</head>

<body background="/img/背景.jpg" style="background-size: 100% auto;">
<form action="insertBook" method="post" enctype="multipart/form-data" style="padding-top: 100px;"><!--enctype="multipart/form-data" enctype="multipart/form-data"-->
    <table border="5" align="center" width=70% height=60%>
        <tr>
            <td colspan="2" style="text-align: center"><h1>添加图书</h1></td>
        </tr>
        <tr>
            <td>书籍名称:</td>
            <td><input type="text" name="name" size=85/></td>
        </tr>
        <tr>
            <td>书籍作者:</td>
            <td><input type="text" name="author" size=85/></td>
        </tr>
        <tr>
            <td>出版社:</td>
            <td><input type="text" name="bookconcern" size=85/></td>
        </tr>
        <tr>
            <td>出版时间:</td>
            <td><input type="text" name="date" size=85/></td>
        </tr>
        <tr>
            <td>简介:</td>
            <td><input type="text" name="synopsis" size=85/></td>
        </tr>

        <tr>
            <td>图书图片</td>
            <td>
                <input type="file" name="book_pic"/>
            </td>
        </tr>

        <tr>
            <td colspan="2">
                <input type="submit" value="提交"/>
                <input type="reset" value="清空"/>
                <input type="button" value="返回首页" onclick="javascript:window.location.href ='home.jsp';"/>
            </td>
        </tr>
    </table>
</form>
</body>
</html>